package com.zgjkhis.modules.charges.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @Author yxl 处方单分页查询检索条件
 * @Description
 * @Date 2021/7/13 16:15
 **/
@Data
@NoArgsConstructor
public class PrescriptionUpdateCriteria {



    @ApiModelProperty(value = "订单状态，1：已收费(待审方)，2：调剂中(已审核)，3：待发货 4:已完成",required = true)
    @NotNull(message = "订单状态不能为空")
    @Range(min=1,max=4,message = "状态错误")
    private Integer orderCondition;

    @ApiModelProperty(value = "订单编码",required = true)
    @NotNull(message = "订单编码不能为空")
    private String orderNo;


}
